<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article class="post">
  <header><h2><?php the_title(); ?></h2></header>
  <section class="content">
    <?php the_content(); ?>
  </section>
</article>
<?php 
	endwhile;
	else:
?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php		
	endif;	
?>